home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / PowerFantasm™ 4.19a / Beginners guide / Beginners Mac Assembly - ed.srd / Beginners Mac Assembly - ed.srd.rsrc / PICT_12.png < prev    next >
Portable Network Graphic  |  1996-08-28  |  138KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | reckoner | sky
OCR: Netraailys .thesprogram counter es inonertteNtech byht hes tongthantthgeotrgent fomstruction, to paigb at the next instruction. However programs need a WrY of making decisions and going off to op something else need be This s called branching or jumping A an example consider a program that accepts names from the key yboard until ten names have been entered The program could go something like this: step get name 1 from key yboard step print the name on the screen step get name from key board step print the name on screen step get name from the keyboard step print name step get name step OS on. As you can see the program is a repetition of steps 1 and 2 What would be nice is if we had a of using steps 1 and ten times over By using conditional check and counter we can: step set counter to ste ...